package com.hst.capacity.domain.model.entity.order.base;

import lombok.Data;
import org.hibernate.annotations.CreationTimestamp;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * 司机拒绝订单原因记录基类
 */
@Data
@MappedSuperclass
public class BaseOrderRejectedHistoryEntity {

    private String idOrder;//订单ID
    private Integer idDriver;//司机ID
    private Integer reason_code;//原因类别代码
    private String reason;//详细原因
    private String memo;//备注
    private String createBy;//创建人
    @CreationTimestamp
    @Column(updatable = false)
    private LocalDateTime createTime;

}
